import React,{Component} from 'react';
import {createNativeStackNavigator} from '@react-navigation/native-stack';
import Home from '../components/home/index'
import Test from "../components/test";

const Stack = createNativeStackNavigator();
class RootStack extends Component<any,any> {
    render() {
        return (
            <Stack.Navigator initialRouteName="Home">
                <Stack.Screen name="Home" component={Home} />
                <Stack.Screen name="Test" component={Test} />
            </Stack.Navigator>
        );
    }
}
class RouteView extends Component<any, any>{
    render() {
        return (
            <RootStack />
        )
    }
}
export default RouteView;
